package com.luoling.readExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

/**
 * Description:
 * Copyright:   Copyright (c)2024
 * Company:
 *
 * @author: 张李鑫
 * @version: 1.0
 * Create at:   2024-07-16 16:38:20
 * <p>
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2024-07-16     张李鑫                     1.0         1.0 Version
 */
@Data
public class ExcelModel {
    @ExcelProperty("id")
    @ColumnWidth(100)
    private String id;
    @ExcelProperty("message")
    @ColumnWidth(100)
    private String message;
    @ExcelProperty("数据结果")
    @ColumnWidth(100)
    private String result;
    @ExcelProperty("查询结果")
    @ColumnWidth(100)
    private String json;
    @ColumnWidth(100)
    @ExcelProperty("sql")
    private String sql;

    public ExcelModel(String id, String sql) {
        this.id = id;
        this.sql = sql;
    }
}
